//
//  LLCommitOrderGoodsHeader.m
//  LoveLove
//
//  Created by 肖兰月 on 2019/4/10.
//  Copyright © 2019 wkf. All rights reserved.
//

#import "LLCommitOrderGoodsHeader.h"

@interface LLCommitOrderGoodsHeader ()
@property (strong, nonatomic) UILabel *titleLbl;
@end

@implementation LLCommitOrderGoodsHeader

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self initSubViews];
    }
    return self;
}

- (void)initSubViews {
    _titleLbl = [LLInitBaseViewTool labelWithText:nil textColor:LLColorRGB(180) font:15 textAlignment:NSTextAlignmentLeft];
    _titleLbl.frame = CGRectMake(10, 0, self.width-20, self.height);
    [self addSubview:_titleLbl];
}

- (void)setTitle:(NSString *)title {
    _title = title;
    _titleLbl.text = title;
}

@end
